<!DOCTYPE html>
<html lang="en">
<head>
    <meta http-equiv="content-type" content="text/html; charset=UTF-8" />
    <meta http-equiv="content-language" content="zh-CN" />
    <title></title>
    <link rel="stylesheet" type="text/css"  href="/general/testzs/public/static/layui/css/layui.css">
    <link rel="stylesheet" type="text/css"  href="/general/testzs/public/static/layui/css/customer.css">
</head>
<style>
    .layui-input{
        font-size: 1rem;
        font-weight: 300;
        color: black;
        border-color: transparent;
    }
    .border-show{
        border-color:slategrey;
        !important;
    }
    input:disabled{
        border:1px solid #DDD;
        background-color:#F5F5F5;
        color:#ACA899;
    }
</style>
<body>

<!--我的-->
<div class="layui-fluid" style="clear:both">
    <div class="layui-card">
        <div class="layui-card-body">
            <!-- 表格工具栏 -->
            <form class="layui-form" lay-filter="SearchForm">
                <div class="layui-form-item">
                    <div class="layui-inline">
                        <label class="layui-form-label">客户编码:</label>
                        <div class="layui-input-inline">
                            <input name="cCusCode"  class="layui-input border-show" placeholder="客户编码搜索" />
                        </div>
                    </div>
                    <div class="layui-inline">
                        <label class="layui-form-label">客户名称:</label>
                        <div class="layui-input-inline">
                            <input name="cCusName"  class="layui-input border-show" placeholder="客户名称搜索" />
                        </div>
                    </div>
                    <div class="layui-inline">
                        <label class="layui-form-label">地址:</label>
                        <div class="layui-input-inline">
                            <input name="cCusAddress"  class="layui-input border-show" placeholder="地址搜索" />
                        </div>
                    </div>
                    <div class="layui-inline">
                        <label class="layui-form-label">类型:</label>
                        <div class="layui-input-inline">
                            <select lay-filter="tableType" name="status" id="">
                                <option value="1">我的</option>
                                <option value="2">全部</option>
                            </select>
                        </div>
                    </div>


                    <div class="layui-inline" style="position: absolute;right: 5rem;">&emsp;
                        <button class="layui-btn icon-btn" lay-filter="SearchForm" lay-submit>
                            <i class="layui-icon">&#xe615;</i>搜索
                        </button>
                    </div>
                </div>
            </form>
            <table  id="archivesTable" lay-filter="archivesTable"></table>

        </div>
    </div>
</div>
<!--<table  id="archivesTable" lay-filter="archivesTable"></table>-->


<script type="text/html" id="StatusArchivesTool">
    <a class="layui-btn layui-btn-primary layui-btn-sm layui-bg-green" lay-event="detail">查看详情</a>
</script>

<script type="text/html" id="ArchivesTool">
    <a class="layui-btn layui-btn-primary layui-btn-sm layui-bg-green" lay-event="detail">查看详情</a>
</script>

<script type="text/html" id="ArchivesDetailHtml">
    <div class="layui-form-item text-left" style="margin: 10px;">
        <button id="detail_info" class="layui-btn ckxqann" lay-submit><i class="layui-icon">&#xe656;</i>基本</button>
        <button id="contact" class="layui-btn layui-btn-primary ckxqann" lay-submit>
            <i class="layui-icon">&#xe60a;</i>联系</button>
        <button id="credit" class="layui-btn layui-btn-primary ckxqann" lay-submit>
            <i class="layui-icon">&#xe667;</i>信用</button>
        <button id="other" class="layui-btn layui-btn-primary ckxqann" lay-submit style="position:relative">
            <i class="layui-icon">&#xe621;</i>其他<i class="layui-icon" ></i>
        </button>
        <button id="custom" class="layui-btn layui-btn-primary ckxqann" lay-submit style="position:relative">
            <i class="layui-icon">&#xe62d;</i>自定义<i class="layui-icon" ></i>
        </button>
        <button id="export" class="layui-btn layui-btn-primary ckxqann" lay-submit style="position:relative">
            <i class="layui-icon">&#xe63c;</i>出口<i class="layui-icon" ></i>
        </button>
        <button id="annex" class="layui-btn layui-btn-primary ckxqann" lay-submit style="position:relative">
            <i class="layui-icon">&#xe63c;</i>附件<i class="layui-icon"></i>
        </button>
    </div>
    <div id="archives_detail_html" style="padding-top: 1rem;">
        <form class="layui-form" action="" lay-filter="submitData" id="submitData">
            <div class="layui-form-item layui-row">
                <div class="layui-inline layui-col-md5">
                    <label class="layui-form-label">客户编码:</label>
                    <div class="layui-input-block">
                        <input name="" id="cCusCode" class="layui-input" disabled="disabled">
                    </div>
                </div>
                <div class="layui-inline layui-col-md5">
                    <label class="layui-form-label">客户名称:</label>
                    <div class="layui-input-block">
                        <input name="" id="cCusName" class="layui-input" disabled="disabled">
                    </div>
                </div>
                <div class="layui-inline layui-col-md5">
                    <label class="layui-form-label">客户简称:</label>
                    <div class="layui-input-block">
                        <input name="" id="cCusAbbName" class="layui-input" disabled>
                    </div>
                </div>

                <div class="layui-inline layui-col-md5">
                    <label class="layui-form-label">助记码:</label>
                    <div class="layui-input-block">
                        <input name="" id="cCusMnemCode" class="layui-input" disabled>
                    </div>
                </div>

                <div class="layui-inline layui-col-md5">
                    <label class="layui-form-label">地区编码:</label>
                    <div class="layui-input-block">
                        <input name="" id="cDCCode" class="layui-input" disabled>
                    </div>
                </div>


                <div class="layui-inline layui-col-md5">
                    <label class="layui-form-label">客户分类编码:</label>
                    <div class="layui-input-block">
                        <input name="" id="cCCCode" class="layui-input" disabled>
                    </div>
                </div>

                <div class="layui-inline layui-col-md5">
                    <label class="layui-form-label">客户总公司:</label>
                    <div class="layui-input-block">
                        <input name="" id="cCusHeadCode" class="layui-input" disabled>
                    </div>
                </div>
                <div class="layui-inline layui-col-md5">
                    <label class="layui-form-label">所属行业:</label>
                    <div class="layui-input-block">
                        <input name="" id="cTrade" class="layui-input" disabled>

                    </div>
                </div>


                <div class="layui-inline layui-col-md5">
                    <label class="layui-form-label">对应供应商:</label>
                    <div class="layui-input-block">
                        <input name="" id="cRelVendor" class="layui-input" disabled>

                    </div>
                </div>
                <div class="layui-inline layui-col-md5">
                    <label class="layui-form-label">客户级别:</label>
                    <div class="layui-input-block">
                        <input name="" id="CustomerKCode" class="layui-input" disabled>
                    </div>
                </div>


                <div class="layui-inline layui-col-md5">
                    <label class="layui-form-label">币种:</label>
                    <div class="layui-input-block">
                        <input name="" id="cCusExch_name" class="layui-input" disabled>
                    </div>
                </div>

                <div class="layui-inline layui-col-md5">
                    <label class="layui-form-label">法人:</label>
                    <div class="layui-input-block">
                        <input name="" id="cCusLPerson" class="layui-input" disabled>
                    </div>
                </div>

                <div class="layui-inline layui-col-md5">
                    <label class="layui-form-label">客户管理类型:</label>
                    <div class="layui-input-block">
                        <input name="" id="cCusMngTypeCode" class="layui-input" disabled >
                    </div>
                </div>
                <div class="layui-inline layui-col-md5">
                    <label class="layui-form-label">纳税人登记号:</label>
                    <div class="layui-input-block">
                        <input name="" id="cCusRegCode" class="layui-input" disabled >
                    </div>
                </div>
                <div class="layui-inline layui-col-md4" style="width: 33.33333333%;float: left">
                    <div class="layui-input-block">
                        <input type="checkbox" id="bCusDomestic" disabled name="bLimitSale" title="国内">
                    </div>
                </div>
                <div class="layui-inline layui-col-md4" style="width: 33.33333333%;float: left">
                    <div class="layui-input-block">
                        <input type="checkbox" id="bServiceAttribute" disabled name="bLimitSale" title="服务">
                    </div>
                </div>
                <div class="layui-inline layui-col-md4" style="width: 33.33333333%;float: left">
                    <div class="layui-input-block">
                        <input type="checkbox" id="bCusOverseas" disabled name="bLimitSale" title="国外">
                    </div>
                </div>
            </div>
        </form>
    </div>

    <div id="contact_detail_html" style="padding-top: 1rem;display: none">
        <form class="layui-form" action="" lay-filter="" id="">

            <div class="layui-form-item layui-row">
                <div class="layui-inline layui-col-md5">
                    <label class="layui-form-label">分管部门:</label>
                    <div class="layui-input-block">
                        <input name="" id="cCusDepart" class="layui-input" disabled="disabled">
                    </div>
                </div>
                <div class="layui-inline layui-col-md5">
                    <label class="layui-form-label">专管业务员:</label>
                    <div class="layui-input-block">
                        <input name="" id="cCusPPerson" class="layui-input" disabled="disabled">
                    </div>
                </div>
                <div class="layui-inline layui-col-md5">
                    <label class="layui-form-label">电话:</label>
                    <div class="layui-input-block">
                        <input name="" id="cCusPhone" class="layui-input" disabled>
                    </div>
                </div>

                <div class="layui-inline layui-col-md5">
                    <label class="layui-form-label">传真:</label>
                    <div class="layui-input-block">
                        <input name="" id="cCusFax" class="layui-input" disabled>
                    </div>
                </div>

                <div class="layui-inline layui-col-md5">
                    <label class="layui-form-label">手机:</label>
                    <div class="layui-input-block">
                        <input name="" id="cCusHand" class="layui-input" disabled >
                    </div>
                </div>


                <div class="layui-inline layui-col-md5">
                    <label class="layui-form-label">QQ号:</label>
                    <div class="layui-input-block">
                        <input name="" id="" class="layui-input" disabled>
                    </div>
                </div>

                <div class="layui-inline layui-col-md5">
                    <label class="layui-form-label">邮政编码:</label>
                    <div class="layui-input-block">
                        <input name="" id="cCusPostCode" class="layui-input" disabled>
                    </div>
                </div>
                <div class="layui-inline layui-col-md5">
                    <label class="layui-form-label">联系人:</label>
                    <div class="layui-input-block">
                        <input name="" id="cCusPerson" class="layui-input" disabled>
                    </div>
                </div>
                <div class="layui-inline layui-col-md10">
                    <label class="layui-form-label">地址:</label>
                    <div class="layui-input-block">
                        <input name="" id="cCusAddress" class="layui-input" disabled>

                    </div>
                </div>


                <div class="layui-inline layui-col-md5">
                    <label class="layui-form-label">Email地址:</label>
                    <div class="layui-input-block">
                        <input name="" id="cCusEmail" class="layui-input" disabled>

                    </div>
                </div>
                <div class="layui-inline layui-col-md5">
                    <label class="layui-form-label">结算方式:</label>
                    <div class="layui-input-block">
                        <input name="" id="cCusSSCode" class="layui-input" disabled >
                    </div>
                </div>
                <div class="layui-inline layui-col-md5">
                    <label class="layui-form-label">发运方式:</label>
                    <div class="layui-input-block">
                        <input name="" id="cCusOType" class="layui-input" disabled>

                    </div>
                </div>
                <div class="layui-inline layui-col-md5">
                    <label class="layui-form-label">发货仓库:</label>
                    <div class="layui-input-block">
                        <input name="" id="cCusWhCode" class="layui-input" disabled>
                    </div>
                </div>

                <div class="layui-inline layui-col-md4" style="width: 33.33333333%;float: left">
                    <div class="layui-input-block">
                        <input type="checkbox" id="bRequestSign" disabled  title="需要签回">
                    </div>
                </div>



            </div>
        </form>
    </div>

    <div id="credit_detail_html" style="padding-top: 1rem;display: none">
        <form class="layui-form" action="" lay-filter="" id="">

            <div class="layui-form-item layui-row">
                <div class="layui-inline layui-col-md5">
                    <label class="layui-form-label">应收余额:</label>
                    <div class="layui-input-block">
                        <input name="" id="iARMoney" class="layui-input" disabled="disabled">
                    </div>
                </div>
                <div class="layui-inline layui-col-md5">
                    <label class="layui-form-label">信用单位:</label>
                    <div class="layui-input-block">
                        <input name="" id="cCusCreditCompany" class="layui-input" disabled="disabled">
                    </div>
                </div>
                <div class="layui-inline layui-col-md5">
                    <label class="layui-form-label">扣率:</label>
                    <div class="layui-input-block">
                        <input name="" id="iCusDisRate" disabled class="layui-input">
                    </div>
                </div>

                <div class="layui-inline layui-col-md5">
                    <label class="layui-form-label">价格级别:</label>
                    <div class="layui-input-block">
                        <input name="" id="iCostGrade" disabled class="layui-input" >
                    </div>
                </div>

                <div class="layui-inline layui-col-md10">
                    <label class="layui-form-label">信用等级:</label>
                    <div class="layui-input-block">
                        <input name="" id="cCusCreGrade" disabled class="layui-input" >
                    </div>
                </div>

                <div class="layui-inline layui-col-md4" style="width: 33.33333333%;float: left">
                    <div class="layui-input-block">
                        <input type="checkbox" id="bCredit" disabled name="bCredit" title="额度">控制信用额度
                    </div>
                </div>
                <div class="layui-inline layui-col-md6" style="width: 50%;float: left">
                    <label class="layui-form-label">信用额度:</label>
                    <div class="layui-input-block">
                        <input name="" id="iCusCreLine" disabled class="layui-input" >
                    </div>
                </div>
                <div class="layui-inline layui-col-md4" style="width: 33.33333333%;float: left">
                    <div class="layui-input-block">
                        <input type="checkbox" id="bCreditDate" disabled name="bCreditDate" title="期限">控制信用期限
                    </div>
                </div>
                <div class="layui-inline layui-col-md6" style="width: 50%;float: left">
                    <label class="layui-form-label">信用期限:</label>
                    <div class="layui-input-block">
                        <input name="" id="iCusCreDate" disabled class="layui-input" >
                    </div>
                </div>
                <div class="layui-inline layui-col-md4" style="width: 33.33333333%;float: left">
                    <div class="layui-input-block">
                        <input type="checkbox" id="bLimitSale" disabled name="bLimitSale" title="控制">允限销控制
                    </div>
                </div>
                <div class="layui-inline layui-col-md6" style="width: 50%;float: left">
                    <label class="layui-form-label">付款条件:</label>
                    <div class="layui-input-block">
                        <input name="" id="cCusPayCond" disabled class="layui-input" >
                    </div>
                </div>

                <div class="layui-inline layui-col-md10">
                    <label class="layui-form-label">销售默认收付款协议:</label>
                    <div class="layui-input-block">
                        <input name="" id="cCusSAProtocol" disabled class="layui-input" >
                    </div>
                </div>
                <div class="layui-inline layui-col-md10">
                    <label class="layui-form-label">出口默认收付款协议:</label>
                    <div class="layui-input-block">
                        <input name="" id="cCusExProtocol" disabled class="layui-input" >

                    </div>
                </div>


                <div class="layui-inline layui-col-md10">
                    <label class="layui-form-label">合同默认收付款协议:</label>
                    <div class="layui-input-block">
                        <input name="" id="cCusCMProtocol" disabled class="layui-input" >
                    </div>
                </div>

                <div class="layui-inline layui-col-md10">
                    <label class="layui-form-label">其他应收单收付款协议:</label>
                    <div class="layui-input-block">
                        <input name="" id="cCusOtherProtocol" disabled class="layui-input" >

                    </div>
                </div>
                <div class="layui-inline layui-col-md10">
                    <label class="layui-form-label">代理进口默认收付款协议:</label>
                    <div class="layui-input-block">
                        <input name="" id="cCusImAgentProtocol" disabled class="layui-input" >

                    </div>
                </div>
                <div class="layui-inline layui-col-md5">
                    <label class="layui-form-label">最近订单时间:</label>
                    <div class="layui-input-block">
                        <input name="" id="dRecentlyContractTime" disabled class="layui-input" >

                    </div>
                </div>
                <div class="layui-inline layui-col-md5">
                    <label class="layui-form-label">最近联络时间:</label>
                    <div class="layui-input-block">
                        <input name="" id="dTouchedTime" disabled class="layui-input" >
                    </div>
                </div>

                <div class="layui-inline layui-col-md5">
                    <label class="layui-form-label">最近发票时间:</label>
                    <div class="layui-input-block">
                        <input name="" id="dRecentlyInvoiceTime" disabled class="layui-input" >

                    </div>
                </div>
                <div class="layui-inline layui-col-md5">
                    <label class="layui-form-label">最近发票金额:</label>
                    <div class="layui-input-block">
                        <input name="" id="" class="layui-input" disabled>
                    </div>
                </div>
                <div class="layui-inline layui-col-md5">
                    <label class="layui-form-label">最近收款时间:</label>
                    <div class="layui-input-block">
                        <input name="" id="dLRDate" class="layui-input" disabled>

                    </div>
                </div>
                <div class="layui-inline layui-col-md5">
                    <label class="layui-form-label">最近收款金额:</label>
                    <div class="layui-input-block">
                        <input name="" id="iLRMoney" class="layui-input"disabled >
                    </div>
                </div>

            </div>
        </form>
    </div>

    <div id="other_detail_html" style="padding-top: 1rem;display: none">
        <form class="layui-form" action="" lay-filter="" id="">

            <div class="layui-form-item layui-row">
                <div class="layui-inline layui-col-md5">
                    <label class="layui-form-label">发展日期:</label>
                    <div class="layui-input-block">
                        <input name="" id="dCusDevDate" class="layui-input" disabled="disabled">
                    </div>
                </div>
                <div class="layui-inline layui-col-md5">
                    <label class="layui-form-label">停用日期:</label>
                    <div class="layui-input-block">
                        <input name="" id="dEndDate" class="layui-input" disabled="disabled">
                    </div>
                </div>
                <div class="layui-inline layui-col-md10">
                    <label class="layui-form-label">备注:</label>
                    <div class="layui-input-block">
                        <input name="" id="cMemo" class="layui-input" disabled>
                    </div>
                </div>

                <div class="layui-inline layui-col-md5" style="width: 42%;float: left">
                    <label class="layui-form-label">直营专柜结算汇率:</label>
                    <div class="layui-input-block">
                        <input name="" id="fCusDiscountRate" class="layui-input" disabled >
                    </div>
                </div>

                <div class="layui-inline layui-col-md5" style="float: left;width: 38%;">
                    <div class="layui-input-block">
                        <input type="checkbox" name="" id="bCusState" title="成交" disabled>
                    </div>
                </div>

                <div class="layui-inline layui-col-md5" style="clear: both;">
                    <label class="layui-form-label">定金比例 %:</label>
                    <div class="layui-input-block">
                        <input name="" id="fAdvancePaymentRatio" class="layui-input" disabled>
                    </div>
                </div>

                <div class="layui-inline layui-col-md5">
                    <label class="layui-form-label">零售:</label>
                    <div class="layui-input-block">
                        <select name="" id="">
                            <option value="">无</option>
                        </select>
                    </div>
                </div>

                <div class="layui-inline layui-col-md5">
                    <label class="layui-form-label">建档人:</label>
                    <div class="layui-input-block">
                        <input name="" id="cCreatePerson" class="layui-input" disabled>
                    </div>
                </div>

                <div class="layui-inline layui-col-md5">
                    <label class="layui-form-label">建档日期:</label>
                    <div class="layui-input-block">
                        <input name="" id="dCusCreateDatetime" class="layui-input" disabled>
                    </div>
                </div>
                <div class="layui-inline layui-col-md5">
                    <label class="layui-form-label">变更人:</label>
                    <div class="layui-input-block">
                        <input name="" id="cModifyPerson" class="layui-input" disabled >

                    </div>
                </div>


                <div class="layui-inline layui-col-md5">
                    <label class="layui-form-label">变更日期:</label>
                    <div class="layui-input-block">
                        <input name="" id="dModifyDate" class="layui-input" disabled>
                    </div>
                </div>
                <div class="layui-inline layui-col-md5" style="width: 42%;float: left">
                    <label class="layui-form-label">变更申请编号:</label>
                    <div class="layui-input-block">
                        <input name="" id="cCusAppDocNo" class="layui-input" disabled>
                    </div>
                </div>
                <div class="layui-inline layui-col-md5" style="float: left;width: 38%;">
                    <label class="layui-form-label"></label>
                    <div class="layui-input-block">
                        <input type="checkbox" name="" id="bOnGPinStore" disabled title="门店收款">
                    </div>
                </div>


                <div class="layui-inline layui-col-md5" style="clear: both">
                    <label class="layui-form-label">定位经纬度:</label>
                    <div class="layui-input-block">
                        <input name="" id="cLocationSite" class="layui-input" disabled>
                    </div>
                </div>
                <div class="layui-inline layui-col-md5">
                    <label class="layui-form-label">税率%:</label>
                    <div class="layui-input-block">
                        <input name="" id="iCusTaxRate" class="layui-input" disabled>
                    </div>
                </div>
                <div class="layui-inline layui-col-md10">
                    <label class="layui-form-label">潜在客户编码:</label>
                    <div class="layui-input-block">
                        <input name="" id="cLtcCustomerCode" class="layui-input" disabled>
                    </div>
                </div>
                <div class="layui-inline layui-col-md5">
                    <label class="layui-form-label">转换人员:</label>
                    <div class="layui-input-block">
                        <input name="" id="cLtcPerson" class="layui-input" disabled>

                    </div>
                </div>
                <div class="layui-inline layui-col-md5">
                    <label class="layui-form-label">转换时间:</label>
                    <div class="layui-input-block">
                        <input name="" id="dLtcDate" class="layui-input" disabled >
                    </div>
                </div>
            </div>
        </form>
    </div>

</script>
    
</body>

<script charset="utf-8" src="/general/testzs/public/static/layui2.6.8/layui.js" ></script>
<script charset="utf-8" src="/general/testzs/public/static/layui2.6.8/jquery.min.js"></script>
<script charset="utf-8" src="/general/testzs/public/static/archives/index/index.js?v=1" ></script>
</html>
